Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
jest-leak-detector
Advanced tools
Module for verifying whether an object has been garbage collected or not.
Module for verifying whether an object has been garbage collected or not.
Internally creates a weak reference to the object, and forces garbage collection to happen. If the reference is gone, it meant no one else was pointing to the object.
(async function () {
let reference = {};
let isLeaking;
const detector = new LeakDetector(reference);
// Reference is held in memory.
isLeaking = await detector.isLeaking();
console.log(isLeaking); // true
// We destroy the only reference to the object.
reference = null;
// Reference is gone.
isLeaking = await detector.isLeaking();
console.log(isLeaking); // false
})();
27.5.1
[jest-config]
Support comments in JSON config file (#12316)[pretty-format]
Expose ConvertAnsi
plugin (#12308)[expect]
Add type definitions for asymmetric closeTo
matcher (#12304)[jest-cli]
Load binary via exported API (#12315)[jest-config]
Replace jsonlint
with parse-json
(#12316)[jest-repl]
Make module importable (#12311 & #12315)[*]
Avoid anonymous default exports (#12313)FAQs
Module for verifying whether an object has been garbage collected or not.
The npm package jest-leak-detector receives a total of 23,899,259 weekly downloads. As such, jest-leak-detector popularity was classified as popular.
We found that jest-leak-detector demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.